package com.ruoyi.system.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import lombok.Data;

@Data
public class SysProcessLog {
    /** 业务类型 */
    @Excel(name = "业务类型")
    private String businessType;

    /** 业务记录ID */
    @Excel(name = "业务记录ID")
    private String businessId;

    /** 操作类型（CREATE/UPDATE/APPROVE/EXECUTE等） */
    @Excel(name = "操作类型", readConverterExp = "C=REATE/UPDATE/APPROVE/EXECUTE等")
    private String operationType;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private String operationTime;

    /** 操作人ID */
    @Excel(name = "操作人ID")
    private Long operatorId;

    /** 操作详情（存储变量变更等详细信息） */
    @Excel(name = "操作详情", readConverterExp = "存储变量变更等详细信息")
    private String operationDetails;
}
